package zmee.pmct.formplugin.pmas;

import kd.bos.bill.AbstractBillPlugIn;
import zmee.util.DateUtil;

import java.util.Date;
import java.util.EventObject;

/**
 * @Author: zyj
 * @Date: 2023/2/3 11:32
 * @Description: 支出合同单据插件
 */
public class PmctOutcontractExtEdit extends AbstractBillPlugIn {

    @Override
    public void beforeBindData(EventObject e) {
        Date date = new Date();
        Date updateTime = DateUtil.yearAdd(date, 1);
        this.getModel().setValue("zmee_dateeas", updateTime);
    }
}
